﻿using System;


namespace ZYCommon
{
   public class Format_NoNull : StringDataFormatItem
    {
        public override bool CanEditSetting()
        {
            return false;
        }

        public override bool Test(string strValue)
        {
            return !StringCommon.isBlankString(strValue);
        }

        public override string DisplayName
        {
            get
            {
                return "必须输入";
            }
        }

        public override string Name
        {
            get
            {
                return "notnull";
            }
        }
    }
}

